package com.dailyblue.project.estate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.Activity;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:ActivityService
 * @Date:2025/9/18 11:50
 */
@Service
public interface ActivityService extends IService<Activity> {
    //添加一条数据
    JsonResult saveActivity(Activity activity);

    //查询一条数据
    JsonResult findOneById(String id);

    //查询所有数据
    JsonResult findAllActivity();

    //删除一条数据
    JsonResult deleteActivity(String id);

    //更新一条数据
    JsonResult updateActivity(Activity activity);
}
